import { useContext } from "react";
import TestContext from "./Context";
const ComponentB = () => {
  const context = useContext(TestContext);
  console.log('ss')
  return <div>我是B组件{context}</div>;
};
export default ComponentB;
